package com.yu.app.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yu.app.pojo.Address;
import lombok.Data;

import java.util.List;

@Data
public class UserDTO {
    @TableId(type = IdType.INPUT)
    private String wxOpenid;
    private String name;
    private String wxAvatar;
    private String phone;
    private Byte sex;
    private Boolean status;

    private String token; // 认证令牌，在缓存会话信息的时候生成
    private List<Address> addressList;
}
